<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}videolist.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{php $h=$_REQUEST[tid];}
{php $door=0;}
{if $h==""}
{php $door=1;}
{php $h=9;}
{/if}
{if $h<>''}
{pc:get sql="SELECT * FROM v9_teacher where id=$h" cache="0" return="data"}
{loop $data $key $val}
{php $tname=$val[uname];}
{/loop}
{/pc}
{if $tname<>''}
<div id="contentbox">
<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b><a href="{APP_PATH}">首页</a><span> > </span><a href="http://www.2zwx.com/index.php?m=content&c=index&a=lists&catid=32">二中老师</a>> 列表
	</div><!-- css class crumb end -->
	
	<div class="videolistbox">
	{pc:content action="category" catid="$catid" num="15" siteid="$siteid" order="listorder ASC"}
	{php $cdata=$data;$cn=$n;}
	{loop $cdata $r}    
		<div class="junior">
			<h3>
				<span class="sp_r"></span><span class="sp_l"></span>
				<span class="title"><a href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a></span>
			</h3>
			<span class="borderbox">
				<ul>
				{pc:content action="lists" catid="$r[catid]" num="20" order="id DESC" page="$page"}
				<li>
				{loop $data $v}
                {if $door==0}
                    {if $v[username]==$tname}
                    <span>
                        <a href="{$v[url]}" target="_blank"><img alt="{$v[title]}" src="{thumb($v[thumb],100,60)}" /></a>
                        <p class="title"><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title],24,'')}</a></p>
                    </span>               
                    {if $n%5==0}</li><li>{/if}
                    {/if}
                {/if}
                {if $door==1}
                    <span>
                        <a href="{$v[url]}" target="_blank"><img alt="{$v[title]}" src="{thumb($v[thumb],100,60)}" /></a>
                        <p class="title"><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title],24,'')}</a></p>
                    </span>               
                    {if $n%5==0}</li><li>{/if}
                {/if}
				{/loop}
				</li>
				{/pc}
				</ul>
			</span>
		</div>

	{/loop}
	{/pc}
	</div><!-- css class videolistbox end -->
	
	<div class="rightside">		
		<span class="hotboard" style="margin:0px;">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道总排行</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content  action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 28, '')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
		
		<span class="seboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道本月排行</span></h3>
			<span class="outerbox">
				{pc:content action="hits" catid="$catid" num="8" order="monthviews DESC" cache="3600"}
				<ul class="content rank">
					{loop $data $r}
					<li><span>已有<b>{number_format($r[monthviews])}</b>人评论</span><a href="{$r[url]}"{title_style($r[style])} title="{$r[title]}">{str_cut($r[title],40,'...')}</a></li>
					{/loop}
				</ul>
				{/pc}
			</span>
		</span>
	</div><!-- css class rightside end -->		
</div><!--  css id boardbox end -->
{template "content","footer_cat"}
</div><!--contentbox-->
{/if}
{else}
<div style="line-height:100px; height:100px; width:100%; text-align:center; vertical-align:top">
<a href="{siteurl($siteid)}" target="_parent" style="color:#F00; font-size:16px">暂时没有信息显示，返回首页</a>
</div>
{/if}